/**
 * UploadListener.java
 * jp.co.greenblue.framework.domain
 *
 * Function： TODO 
 *
 *   ver     date      		author
 * ──────────────────────────────────
 *   		 2010/12/25 		jonsion
 *
 * Copyright (c) 2010, GreenBlue .  All Rights Reserved.
*/

package com.jonsion.framework.domain;

import com.enterprisedt.net.ftp.EventAdapter;
import com.enterprisedt.net.ftp.FileTransferClient;

/**
 * ClassName:UploadListener 上传过程监听类
 * Function: TODO ADD FUNCTION
 * Reason:	 TODO ADD REASON
 *
 * @author   jonsion
 * @version  
 * @since    Ver 1.1
 * @Date	 2010/12/25		14:01:31
 *
 * @see 	 
 */
public class UploadListener extends EventAdapter{
	@SuppressWarnings("unused")
	private long bytesTransferred = 0;
	@SuppressWarnings("unused")
	private FileTransferClient ftpClient;

	public UploadListener(FileTransferClient ftpClient) {
		this.ftpClient = ftpClient;
	}

	public void bytesTransferred(String connId, String remoteFilename,
			long bytes) {
		bytesTransferred = bytes;
	}
}

